package com.share.device.repository;

import com.share.device.domain.StationLocation;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * Author:pengyujia
 * Date: 2025/6/22 22:55
 * Description:
 */
@Repository
public interface StationLocationRepository extends MongoRepository<StationLocation, String> {
    StationLocation getByStationId(Long id);

    void deleteByStationId(long stationId);
}
